package com.baizhi.service;

import com.baizhi.entity.Category;

import java.util.List;

public interface CategoryService {
    public List<Category> selectAllCategory();

    public void addCategoryLevels1(Category category);

    public List<Category> selectCategoryLevels1();

    public List<Category> selectCategoryLevels2();

    public void addCategoryLevels2(Category category);

    public void deleteCategory(String categoryId);

    public Category selectCategoryByName(String categoryName);

    public Category selectCategoryById(String categoryId);

    public Integer selectCountForLevelsById(Integer levels,String categoryId);





    public List<Category> selectCategoryLevels1s();
    public List<Category> selectCategoryByFirstId(String firstId);
}
